﻿using MaiPlanServer.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MaiPlanServer.IServices.IReservoirServices
{
    public interface IReservoirManageServices
    {
        public Task<IEnumerable<WM_STORAGE_LOCATION>> GetArmazemAsync(int PageIndex, int PageSize, string LOCATIONName, string LOCATIONcode, string warehouse_id);

        public Task<int> GetCountAsync(string LOCATIONName,string warehouse_id);

        public Task<bool> AddAsync(WM_STORAGE_LOCATION model);

        public Task<bool> UpdateAsync(WM_STORAGE_LOCATION model);

        public Task<bool> DellAsync(string ruleId);
        public Task<bool> DellAllAsync(string[] ruleId);

        public Task<IEnumerable<wm_warehouse>> Getwarehouse();

        public Task<IEnumerable<WM_STORAGE_LOCATION>> GetLocation(int PageIndex, int PageSize,string id);
        public Task<int> GetLocationcount(string id);
    }
}
